home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
sftgrd
/
describ.txt
< prev
next >
Wrap
Text File
|
1994-10-19
|
2KB
|
47 lines
AAVBSORT.DLL provides a group of simple to use subroutines to sort
Visual Basic arrays. Since the subroutines are written in C++, they
are much faster than the same sort done in Visual Basic. Included are
two types of sort routines: SortAry which sorts the array elements
themselves and SortIdx which sorts arrays via an index. Array elements
can be: Integer, Long, Single, Double, Currency, String, or Fixed
String. In the registered version, arrays elements can be of User
defined types.
To use a sort routine in AAVBSORT.DLL, first make sure the DLL can be
found on the DOS path or is in the Windows or System directory. All
the routines are as easy to use as the following example.
'Make sure the file AAVBSORT.DLL is in your DOS Path
'Put the line below in the declaration section of a form
Declare Sub SortAryDouble Lib "AAVBSORT.DLL" ( a() As Double )
' Put the following in the startup for a form
Dim d(30) as Double
Dim i as Integer
For i=0 to 30
d(i)= rnd
Next i
' Sort the array it-self
SortAryDouble d()
' Display the results on the form
For i=0 to 30
me.print d(i)
Next i
AAVBSORT.DLL is distributed as Shareware. Try before you buy. If you
continue using it, you are expected to register. See AAVBSORT.HLP for
information on the benefits of registering. See ORDER.TXT for
information on how to register.
AA-Software International
12 ter Domaine Du Bois Joli
06330 Roquefort-Les-Pins, France
Tel: (+33) 93.77.50.47
Fax: (+33) 93.77.19.78
Internet: cswilly@acm.org
CompuServe: 100343,2570
X400: (C=US; A=CompuServe; P=csmail; D=ID:100343,2570)